package com.jige.feign.client;

import com.jige.feign.domain.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "service-gupao")
public interface IServiceHello {

    @RequestMapping(value = "/helloBody", method = RequestMethod.GET)
    String sayHello(@RequestBody User user);
}
